package cn.org.eshow.util;

/**
 * 银行工具类
 *
 * @author leida
 */
public class BankUtil {

    /**
     * 获取银行图标
     *
     * @return string
     */
    public static String getBankIcon(String bankName) {
        if (bankName.equals("中国工商银行"))
            return "http://img.yinwan.bangqu.com/icbc.png";
        else if (bankName.equals("中国银行"))
            return "http://img.yinwan.bangqu.com/zhongguo.png";
        else if (bankName.equals("中国建设银行"))
            return "http://img.yinwan.bangqu.com/ccb.png";
        else if (bankName.equals("中国农业银行"))
            return "http://img.yinwan.bangqu.com/abc.png";
        else if (bankName.equals("交通银行"))
            return "http://img.yinwan.bangqu.com/bcm.png";
        else if (bankName.equals("中信银行"))
            return "http://img.yinwan.bangqu.com/zhongxing.png";
        else if (bankName.equals("平安银行"))
            return "http://img.yinwan.bangqu.com/pingan.png";
        else if (bankName.equals("兴业银行"))
            return "http://img.yinwan.bangqu.com/xingye.png";
        else if (bankName.equals("中国民生银行"))
            return "http://img.yinwan.bangqu.com/minsheng.png";
        else if (bankName.equals("招商银行"))
            return "http://img.yinwan.bangqu.com/zhaoshang.png";
        else if (bankName.equals("中国邮政储蓄银行"))
            return "http://img.yinwan.bangqu.com/youzheng.png";
        return "";
    }

}